#!/usr/bin/env python3
# -*- coding: utf-8 -*-
b = bytes.fromhex

s_name =  "NGEE 15F40H~160F0H	007 Goldeneye (USA)"
sample = b("""27BDFFC8 AFA5003C 93AF003F 3C0E8006 25CE7D30 29E10041 AFBF0014 AFA40038
              AFA60040 AFA00034 14200003 AFAE002C 1000005B 2402FFFF 0C005798 00000000
              8FA40038 0C00557F 27A5001C AFA20034 8FB80034 17000005 00000000 97B9001C
              34018000 13210003 00000000 1000004C 24020008 93A8001E 31090080 11200008
              00000000 8FA40038 0C00557F 27A5001C 93AA001E 314B0080 1560FFFA 00000000
              93A4003F 0C00553C 8FA50040 3C058006 24A57D30 0C0057B4 24040001 AFA20034
              8FA40038 00002825 0C003774 24060001 AFA00030 8FAD0030 8FAF0030 3C018006
              000D7080 002E0821 240C00FF AC2C7D30 25F80001 2B010010 1420FFF6 AFB80030
              3C018006 3C058006 AC207D6C 24A57D30 0C0057B4 00002025 24190005 3C018006
              AFA20034 A0397CE0 8FA40038 00002825 0C003774 24060001 AFA00030 8FAA0030
              8FA8002C 254B0001 29610004 25090001 AFAB0030 1420FFF9 AFA9002C 8FAC002C
              27AD0020 89810000 99810003 ADA10000 898F0004 998F0007 ADAF0004 89810008
              9981000B ADA10008 93B80021 331900C0 00194103 0C0057A9 AFA80034 8FA20034
              8FBF0014 27BD0038 03E00008 00000000""")

s_mask = b("""FFFFFFFF FFFFFFFF FFFFFFFF FFFF0000 FFFF0000 FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000000 FFFFFFFF
              FFFFFFFF 00000000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF 00000000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF 00000000 FFFFFFFF FFFF0000 FFFF0000 00000000 FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF 00000000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFF0000
              FFFFFFFF FFFFFFFF FFFFFFFF FFFF0000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFF0000 FFFF0000 FFFF0000 FFFF0000 00000000 FFFFFFFF FFFFFFFF FFFF0000
              FFFFFFFF FFFF0000 FFFFFFFF FFFFFFFF 00000000 FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000000 FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF""")

symbol = (('+', 'V0 = errors writing A2 to block at EEPROM addr A1 using queue A0', 0x6FFFF400),
          )

# 8 of 0x1B0, how's that for economy ;*)
p_data = b("00000000 24070001")
p_cmds = (('j', 0, 'read/write EEPROM block helper', 4),)
